package com.wk.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "cmfz_guru")
public class CmfzGuru implements Serializable {
    @Excel(name = "上师编号")
    @TableId(value = "guru_id")
    private Integer guruId;

    @Excel(name="上师名字")
    @TableField(value="guru_name")
    private String guruName;

    @Excel(
            name="上师头像",
            type=2,
            width=40
    )
    @TableField(value="guru_image")
    private String guruImage;

    @Excel(name="上师法号")
    @TableField(value="guru_nickname")
    private String nickName;

    @Excel(name="上师状态",replace = {"在世_1","圆寂_0"})
    @TableField(value="guru_status")
    private Integer guruStatus;
}
